local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, script.Parent.BuffBase);



function M.new(self,...)
	return M(self,...);
end;
function M.ctor(self,bid,player,time,boost)
	
    self.boost=boost
    M.super.ctor(self,bid,player,time);
end;

function M.Use(self)

    self.Conn1= self.player.AttackValueMul2Event:Connect(function()
        return self.boost+1
    end)

    self.Conn2= self.player.TrainValueMul2Event:Connect(function(key)
        return self.boost+1
    end)


---------------待实现---------------
end

function M.dtor(self)
    if self.Conn1 then
        self.Conn1:Disconnect()
        self.Conn1=nil
    end

    if self.Conn2 then
        self.Conn2:Disconnect()
        self.Conn2=nil
    end

	M.super.dtor(self);
end;




return M;
